<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta http-equiv="Content-Type" content="text/html; charset=<?php echo CHARSET?>" />
<title><?php echo $page_metas['title']?></title>
<?php
echo '<meta name="Keywords" content="' . $page_metas['keywords'] . '" />', "\n";
echo '<meta name="Description" content="' . $page_metas['description'] . '" />', "\n";
foreach ($page_styles as $_style)
{
    echo '<link type="text/css" href="/public/css/' . $_style . '" rel="stylesheet" />', "\n";
}
foreach ($page_scripts as $_script)
{
    echo '<script type="text/javascript" src="/public/js/' . $_script . '"></script>', "\n";
}

?>
</head>
<body>
<div id="wrapper">
<?php echo $content;?>
</div>
</body>
</html>